<?php
//$this->pageTitle=Yii::app()->name . ' - Login';
//$this->breadcrumbs=array(
//	'Login',
//);
//
?>

<div class="form bootform">

    <?php $form = $this->beginWidget('CActiveForm', array(
    'id' => 'login-form',
    'enableClientValidation' => true,
    'clientOptions' => array(
        'validateOnSubmit' => true,
    ),
    'htmlOptions' => array(
        'class' => 'wufoo'
    )
)); ?>

    <header class="info" id="header">
        <h2>Login</h2>

        <div class="alert-message block-message">
            Use your username and password to gain access to member area <br/>
            Fields with <span class="req">*</span> are required.
        </div>
    </header>

    <ul>
        <li>
            <?php echo $form->labelEx($model,'username', array('class'=>'desc')); ?>
            <div>
                <?php echo $form->textField($model, 'username', array('class'=>'field text medium')); ?>
            </div>
            <p id="instruct1" class="instruct">
                <small>This field is required.</small>
            </p>
            <?php echo $form->error($model, 'username'); ?>
        </li>
        <li>
            <?php echo $form->labelEx($model,'password', array('class'=>'desc')); ?>
            <div>
                <?php echo $form->passwordField($model, 'password', array('class'=>'field text medium')); ?>
            </div>
            <p id="instruct1" class="instruct">
                <small>This field is required.</small>
            </p>
            <?php echo $form->error($model, 'password'); ?>
        </li>
        <li>
            <?php echo $form->labelEx($model,'rememberMe', array('class'=>'desc')); ?>
            <div>
                <?php echo $form->checkBox($model, 'rememberMe', array('class'=>'field checkbox')); ?>
            </div>
            <p id="instruct1" class="instruct">
                <small>This field is required.</small>
            </p>
            <?php echo $form->error($model, 'rememberMe'); ?>
        </li>
        <li class="buttons action ">
            <div>
                <?php echo CHtml::submitButton('Login', array('class'=>'btn primary')); ?>
            </div>
        </li>
    </ul>
    <?php $this->endWidget(); ?>
</div>
